#include<stdio.h>
int main(){
int count =0;
for(int i=1;i<=100;i++){

	if(i%10==9){
       count++;
	   }
	if(i/10==9){
		count++;
	printf(" %d",i);
	}
	
}
printf("\ncount=%d\n",count);

return 0;
}